package com.qymerge.manage.base.dao;

import com.qymerge.manage.base.ro.BDMProductionCostRO;
import com.qymerge.manage.core.bean.PageRequest;

import java.util.List;

/**
 *<p>Title: ICardDao</p>
 *<p>Description: 优惠券管理</p>
 *
 *@Author cong.zhang
 *@Version 1.0.0
 *@Date 2020/12/19
 *@Time 17:52
 */
public interface IBDMProductionCostDao {

    List list(BDMProductionCostRO ro, PageRequest pageRequest);

    int total(BDMProductionCostRO ro);

    BDMProductionCostRO findOne(Long id);

    int install(BDMProductionCostRO ro);

    int update(BDMProductionCostRO ro);

    BDMProductionCostRO findOneByCompanyNameAndPeriodYearAndCostCenterCodeAndMaterialCode(String companyName, String periodYear, String costCenterCode, String materialCode);


}
